import './css/index.css'
// css模块化支持
import bodySyle from './css/index.module.css'
// less支持
import './less/index.less'
// less模块化支持
import lessModule from './less/main.module.less'
import './imgSrc.js'
import './jsonSrc.js'
import './assetsInlineLimit.js'


// css及css模块化支持
console.log('main')
console.log('bodySyle', bodySyle)
console.log(import.meta.env)
const divEl = document.createElement('div')
divEl.className = bodySyle.red
divEl.innerHTML = 'hellow Vite'
document.body.appendChild(divEl)

// less支持及less模块化支持
console.log('lessModule', lessModule)
const lessEl = document.createElement('div')
lessEl.className = 'less'
lessEl.innerHTML = 'hellow less'
document.body.appendChild(lessEl)

